package ae.pcfc.etks.cld.to.web.model;

import org.springframework.web.multipart.MultipartFile;
import ae.pcfc.etks.cld.to.web.constraints.ImageFile;
import ae.pcfc.etks.cld.to.web.constraints.MaxFileSize;

public class FilesIncomingBean {

	//Attachments
	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile passportCopy;
	
	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile letterFromCompany;
	
	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile photograph;
	
	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile insurancePaper;
	
	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile cancellationOrVisitCopy;
	
	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile cancellationPaper;
	
	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile exitDocument;
	
	public MultipartFile getPassportCopy() {
		return passportCopy;
	}
	public void setPassportCopy(MultipartFile passportCopy) {
		this.passportCopy = passportCopy;
	}
	public MultipartFile getLetterFromCompany() {
		return letterFromCompany;
	}
	public void setLetterFromCompany(MultipartFile letterFromCompany) {
		this.letterFromCompany = letterFromCompany;
	}
	public MultipartFile getPhotograph() {
		return photograph;
	}
	public void setPhotograph(MultipartFile photograph) {
		this.photograph = photograph;
	}
	public MultipartFile getInsurancePaper() {
		return insurancePaper;
	}
	public void setInsurancePaper(MultipartFile insurancePaper) {
		this.insurancePaper = insurancePaper;
	}
	public MultipartFile getCancellationOrVisitCopy() {
		return cancellationOrVisitCopy;
	}
	public void setCancellationOrVisitCopy(MultipartFile cancellationOrVisitCopy) {
		this.cancellationOrVisitCopy = cancellationOrVisitCopy;
	}
	public MultipartFile getCancellationPaper() {
		return cancellationPaper;
	}
	public void setCancellationPaper(MultipartFile cancellationPaper) {
		this.cancellationPaper = cancellationPaper;
	}
	public MultipartFile getExitDocument() {
		return exitDocument;
	}
	public void setExitDocument(MultipartFile exitDocument) {
		this.exitDocument = exitDocument;
	}
	
	
}
